package com.gw.smscheck.entity.business.alarm;
import java.io.Serializable;
import com.gw.smscheck.entity.sys.BasePager;
/**
* tb_alarm_log 实体类
* @author pzr 
* @date 2018-11-08 08:59:32
*/ 
public class AlarmLog extends BasePager implements Serializable{
	private static final long serialVersionUID = -1L;
	/**
	 * 告警内容
	 */
	private String alarmContent ;
	/**
	 * 告警名称
	 */
	private String alarmName ;
	/**
	 * 告警时间
	 */
	private String alarmTime ;
	/**
	 * 告警类型id
	 */
	private String alarmType ;
	/**
	 * 告警生成时间
	 */
	private String createTime ;
	/**
	 * 创建人
	 */
	private String createUser ;
	/**
	 * 
	 */
	private Integer id ;
	/**
	 * 状态
	 */
	private String state ;
	/**
	 * 用户编号
	 */
	private String userCode ;
	/**
	 * 电话号码
	 */
	private String userPhone ;
	/**
	 * 告警内容
	 */
	private Integer count ;
	/**
	 * 告警类型索引
	 */
		private String index ;
	/**
	 * 告警内容
	 */

	private String name ;
	/**
	 * 告警类型索引
	 */
	private String total ;
	/**
	 * 告警类型索引
	 */
	private String outNum ;
	/**
	 * 告警类型索引
	 */
	private String inNum ;
	/**
	 * 告警类型索引
	 */
	private Integer value ;

	public void setAlarmContent(String alarmContent){
		this.alarmContent=alarmContent;
	}
	public String getAlarmContent(){
		return alarmContent;
	}

	public void setAlarmName(String alarmName){
		this.alarmName=alarmName;
	}
	public String getAlarmName(){
		return alarmName;
	}

	public void setAlarmTime(String alarmTime){
		this.alarmTime=alarmTime;
	}
	public String getAlarmTime(){
		return alarmTime;
	}

	public void setAlarmType(String alarmType){
		this.alarmType=alarmType;
	}
	public String getAlarmType(){
		return alarmType;
	}

	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	public String getCreateTime(){
		return createTime;
	}

	public void setCreateUser(String createUser){
		this.createUser=createUser;
	}
	public String getCreateUser(){
		return createUser;
	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setState(String state){
		this.state=state;
	}
	public String getState(){
		return state;
	}

	public void setUserCode(String userCode){
		this.userCode=userCode;
	}
	public String getUserCode(){
		return userCode;
	}

	public void setUserPhone(String userPhone){
		this.userPhone=userPhone;
	}
	public String getUserPhone(){
		return userPhone;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getOutNum() {
		return outNum;
	}

	public void setOutNum(String outNum) {
		this.outNum = outNum;
	}

	public String getInNum() {
		return inNum;
	}

	public void setInNum(String inNum) {
		this.inNum = inNum;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

	// 重写Object对象的equals方法
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		} else {
			if (obj == null) {
				return false;
			}
			final AlarmLog alarmLog = (AlarmLog) obj;
			if (this.getId().equals( alarmLog.getId() )) {
				return true;
			} else {
				return false;
			}
		}
	}
}

